﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OlapProject
{
    class PropertyVO
    {
        public string source = "";
        public string country = ""; 
        public string city = ""; 
        public string district = "";
        public decimal price = 0; //w euro
        public decimal area = 0; //m2 powierzchnia
        public decimal plotArea = 0; //m2 dzialka
        public string type = "";
        public int bedrooms = 0;
        public int bathrooms = 0;
        public string datetime = "";

        public override string ToString()
        {
            return "source = " + source + "\n" +
                "country = " + country + "\n" +
                "city = " + city + "\n" +
                "district = " + district + "\n" +
                "price = " + price + "\n" +
                "area = " + area + "\n" +
                "plotArea = " + plotArea + "\n" +
                "type = " + type + "\n" +
                "bedrooms = " + bedrooms + "\n" +
                "bathrooms = " + bathrooms + "\n" +
                "datetime = " + datetime + "\n";            
        }
     }
}
